package com.zhijiaoyun.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhijiaoyun.model.HelpCenter;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface IHelpCenterDao {
	int deleteByPrimaryKey(Long helpId);

	int insert(HelpCenter record);

	int insertSelective(HelpCenter record);

	HelpCenter selectByPrimaryKey(Long helpId);

	int updateByPrimaryKeySelective(HelpCenter record);

	int updateByPrimaryKeyWithBLOBs(HelpCenter record);

	int updateByPrimaryKey(HelpCenter record);

	int countByParams(@Param("text") String text);

	List<HelpCenter> pageByParams(@Param("beginIndex") int beginIndex, @Param("pageSize") int pageSize, @Param("text") String text);
}